package com.zjq.smartdevice.events;

import com.zjq.smartdevice.constants.DeviceStatus;

/**
 * @User zhangjiaqi
 * @Project project
 * @Package com.zjq.smartdevice.events
 * @Date 2022/3/24 11:43
 */
public class DevicePowerEvent {

    private String deviceId;//连接的设备编号
    private String ip;//设备连接ip
    private DeviceStatus deviceStatus;

    public DevicePowerEvent(String deviceId, String ip, DeviceStatus deviceStatus) {
        this.deviceId = deviceId;
        this.ip = ip;
        this.deviceStatus = deviceStatus;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public DeviceStatus getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(DeviceStatus deviceStatus) {
        this.deviceStatus = deviceStatus;
    }
}
